define(['egis'],
    function (egis) {
        Window.deserializer = Window.deserializer || new egis.core.Deserializer();
        Window.container = Window.container || {};
        dsBridge.register('create_FullExtentCommand', function (sourceId, commandId) {
            var zoomInCmd = new egis.interact.ZoomInCommand({id: commandId});
            Window.container[sourceId] = zoomInCmd;
        });

        dsBridge.register('FullExtentCommand_onClick', function (sourceId) {
            try {
                var zoomInCmd = Window.container[sourceId];
                if (!!zoomInCmd) {
                    zoomInCmd.onClick();
                }
            }
            catch (e) {
                alert(e)
            }
        });
    })